package com.groupbuying.settleconsumer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.settleconsumer.dao.SettleUshopSplitMaininfoDao;
import com.groupbuying.settleconsumer.domain.SettleUshopSplitMaininfoDO;
import com.groupbuying.settleconsumer.service.SettleUshopSplitMaininfoService;



@Service
public class SettleUshopSplitMaininfoServiceImpl implements SettleUshopSplitMaininfoService {
	@Autowired
	private SettleUshopSplitMaininfoDao settleUshopSplitMaininfoDao;

	@Override
	public SettleUshopSplitMaininfoDO getByPayId(String payId){return settleUshopSplitMaininfoDao.getByPayId(payId);}
	
	@Override
	public SettleUshopSplitMaininfoDO get(String settleId){
		return settleUshopSplitMaininfoDao.get(settleId);
	}
	
	@Override
	public List<SettleUshopSplitMaininfoDO> list(Map<String, Object> map){
		return settleUshopSplitMaininfoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return settleUshopSplitMaininfoDao.count(map);
	}
	
	@Override
	public int save(SettleUshopSplitMaininfoDO settleUshopSplitMaininfo){
		return settleUshopSplitMaininfoDao.save(settleUshopSplitMaininfo);
	}
	
	@Override
	public int update(SettleUshopSplitMaininfoDO settleUshopSplitMaininfo){
		return settleUshopSplitMaininfoDao.update(settleUshopSplitMaininfo);
	}
	
	@Override
	public int remove(String settleId){
		return settleUshopSplitMaininfoDao.remove(settleId);
	}
	
	@Override
	public int batchRemove(String[] settleIds){
		return settleUshopSplitMaininfoDao.batchRemove(settleIds);
	}
	
}
